package net.lab0.fractal.event;


import java.util.EventObject;


/**
 * @author 116
 */
@SuppressWarnings("serial")
public class ProgressEvent
extends EventObject
{
	private float	progression;
	private boolean	finished;
	
	public ProgressEvent(Object source, float progression, boolean finished)
	{
		super(source);
		this.progression = progression;
		this.finished = finished;
	}
	
	public float getProgression()
	{
		return progression;
	}
	
	public boolean isFinished()
	{
		return finished;
	}
}
